package com.weixiaodong.javabasic.Java中一种更为优雅的判断null的方式;

@SuppressWarnings("all")
public class Province {
    private String city;

    private String district;

    private String street;

    public Province() {};

    public Province(String city, String district, String street) {
        this.city = city;
        this.district = district;
        this.street = street;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }
}
